﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using GCC.Container.Models;


namespace tcm.request.System
{
    public class SysRoleRequest : PageRequestBase
    {
        public string? role_name { get; set; }

        public int? status { get; set; } 

    }

    public class SysRoleDto: BaseExtensionDto
    {
        /// <summary>
        /// 角色名称
        /// </summary>
        public string? role_name { get; set; } = "";

        /// <summary>
        /// 角色权限
        /// </summary>
        public string? role_key { get; set; } = "";

        /// <summary>
        /// 角色排序
        /// </summary>
        public int role_sort { get; set; } = 0;

        /// <summary>
        /// 状态（1正常 0停用）
        /// </summary>
        public int status { get; set; }=1;

        /// <summary>
        /// 删除标志（0代表存在 1代表删除）
        /// </summary>
        public int is_delete { get; set; } = 0;

        /// <summary>
        /// 备注
        /// </summary>
        public string? remark { get; set; } = "";

        /// <summary>
        /// 角色对应菜单和按钮
        /// </summary>
        public string? menuIds { get; set; } = "";
    }
}
